/**
 * Created with JetBrains PhpStorm.
 * User: shaoshuai
 * Date: 12-7-20
 */
FlyFight.view.UserList = Zen.extend(Zen.View, {
    el: '#user-data',
    initView: function () {

    },
    update: function (data) {
        var html = [];
        for (var i = 0; i < data.length; i++) {
            html.push('<li>' + data[i] + '</li>');
        }
        this.el.empty().append(html.join(''));
    }
});

